export const constants = {
    incomeCheckMethods: [
        // { label: "完工百分比", value: 0 },
        // { label: "PO分期间确认收入", value: 1 },
        // { label: "开票确认收入", value: 2 },
        // { label: "结算单确认收入", value: 3 },
        // { label: "硬件收入", value: 4 },
        // { label: "无收入", value: 5 },
        // { label: "合并范围外公司结算", value: 6 },
        // { label: "完工百分比（涉及MMS或Rightware内部结算）", value: 7 },
        // { label: "其他", value: 8 },
        { label: '履约进度法', value: 9 },
        { label: '结算单', value: 10 },
        { label: '商品销售法', value: 11 },
        { label: '无收入', value: 12 }
    ],
    productionOptions: [
        {
            value: '0',
            label: 'Mobile',
            children: [
                {
                    value: '0',
                    label: 'Mobile'
                },
                {
                    value: '1',
                    label: 'Pad'
                },
                {
                    value: '2',
                    label: '家电类'
                },
                {
                    value: '3',
                    label: 'Watch'
                },
                {
                    value: '4',
                    label: '智能系统'
                },
                {
                    value: '5',
                    label: 'Others'
                }
            ]
        },
        {
            value: '5',
            label: '智能汽车产品',
            children: [
                {
                    value: '21',
                    label: 'Kanzi & Kanzi Connect'
                },
                {
                    value: '22',
                    label: 'Auto Test Tool'
                },
                {
                    value: '23',
                    label: '混合仪表固件'
                },
                {
                    value: '24',
                    label: 'FOTA'
                },
                {
                    value: '25',
                    label: 'QNX Hypervisor'
                },
                {
                    value: '26',
                    label: 'Others'
                }
            ]
        },
        {
            value: '6',
            label: '智能汽车服务',
            children: [
                {
                    value: '27',
                    label: '智能驾驶舱软件开发服务'
                },
                {
                    value: '28',
                    label: 'IVI软件测试服务'
                },
                {
                    value: '29',
                    label: 'Kanzi HMI//MW-开发服务'
                },
                {
                    value: '30',
                    label: 'Camera集成和Tuning'
                },
                {
                    value: '31',
                    label: '语音语义集成服务'
                },
                {
                    value: '32',
                    label: 'Others'
                }
            ]
        },
        {
            value: '7',
            label: '智能汽车方案',
            children: [
                {
                    value: '33',
                    label: 'Android IVI'
                },
                {
                    value: '34',
                    label: 'Hypervisor Cockpit'
                },
                {
                    value: '35',
                    label: 'Linux IVI'
                },
                {
                    value: '36',
                    label: 'QNX Cluster'
                },
                {
                    value: '37',
                    label: 'Info ADAS'
                },
                {
                    value: '38',
                    label: 'Audio'
                },
                {
                    value: '39',
                    label: 'SRV'
                },
                {
                    value: '40',
                    label: '手机互联方案'
                },
                {
                    value: '41',
                    label: 'eAVB'
                },
                {
                    value: '42',
                    label: 'Others'
                }
            ]
        },
        {
            value: '1',
            label: 'IOT',
            children: [
                {
                    value: '6',
                    label: 'AR/VR'
                },
                {
                    value: '10',
                    label: 'Camera'
                },
                {
                    value: '48',
                    label: 'Cloud-FOTA'
                },
                {
                    value: '49',
                    label: 'Cloud-MDM'
                },
                {
                    value: '50',
                    label: 'Face Access'
                },
                {
                    value: '51',
                    label: 'Handy Terminal'
                },
                {
                    value: '17',
                    label: 'NB&mini-IOT'
                },
                {
                    value: '52',
                    label: 'New Retailing'
                },
                {
                    value: '53',
                    label: 'Robotics'
                },
                {
                    value: '9',
                    label: 'SmartHome'
                },
                {
                    value: '11',
                    label: 'Smartspeaker'
                },
                {
                    value: '16',
                    label: 'SOM'
                },
                {
                    value: '15',
                    label: 'Wearable'
                },
                {
                    value: '20',
                    label: 'Others'
                }
            ]
        },
        {
            value: '2',
            label: 'Image/Graphics Algorithm'
        },
        {
            value: '3',
            label: 'Security'
        },
        {
            value: '4',
            label: 'Enterprise',
            children: [
                {
                    value: '43',
                    label: 'MDM'
                },
                {
                    value: '44',
                    label: 'FOTA'
                },
                {
                    value: '45',
                    label: 'APP开发'
                },
                {
                    value: '46',
                    label: '智能系统'
                },
                {
                    value: '47',
                    label: 'En.-Others'
                }
            ]
        }
    ],
    businessOptions: [
        {
            value: '0',
            label: '交付型业务',
            children: [
                {
                    value: '0',
                    label: '软件交付_NRE'
                },
                {
                    value: '23',
                    label: '硬件设计_NRE'
                },
                {
                    value: '8',
                    label: '软硬一体_含硬件试产'
                },
                {
                    value: '11',
                    label: '培训服务'
                },
                {
                    value: '12',
                    label: '其他'
                }
            ]
        },
        {
            value: '1',
            label: '人力型业务',
            children: [
                {
                    value: '17',
                    label: '现场人力服务'
                },
                {
                    value: '18',
                    label: '离岸人力服务'
                }
            ]
        },
        {
            value: '2',
            label: '硬件产品销售业务',
            children: [
                {
                    value: '19',
                    label: '硬件批量出货'
                },
                {
                    value: '20',
                    label: '硬件零售'
                }
            ]
        },
        {
            value: '3',
            label: '软件产品销售业务',
            children: [
                {
                    value: '21',
                    label: '软件产品零售'
                },
                {
                    value: '2',
                    label: '软件产品Royalty'
                },
                {
                    value: '22',
                    label: '软件授权或IP代理_IPLicense'
                }
            ]
        }
    ],
    // TODO production data, fetch from back end
    exchangeRate: [
        {
            id: 24,
            currency_name: '林吉特',
            currency_code: 'MYR',
            rate: 1.61535
        },
        {
            id: 23,
            currency_name: '卢比',
            currency_code: 'INR',
            rate: 0.08907
        },
        {
            id: 22,
            currency_name: '韩币',
            currency_code: 'KRW',
            rate: 0.005937
        },
        {
            id: 20,
            currency_name: '人民币',
            currency_code: 'RMB',
            rate: 1.0
        },
        {
            id: 19,
            currency_name: '欧元',
            currency_code: 'EUR',
            rate: 7.903567
        },
        {
            id: 16,
            currency_name: '日元',
            currency_code: 'JPY',
            rate: 0.063177
        },
        {
            id: 15,
            currency_name: '美元',
            currency_code: 'USD',
            rate: 6.56865
        },
        {
            id: 13,
            currency_name: '新台币',
            currency_code: 'NTD',
            rate: 0.2316
        }
    ]
};
